#include<iostream>
using namespace std;
class Base
{
private:
	int b1;
protected:
	int b2;
public:
	void set(int m, int n);
	void show();
};
class Dervied :public Base
{
private:
	int d;
public:
	void setall(int m, int n, int l);
	void showtall();
};